package main

import (
	_ "ao/boot"
	_ "ao/router"
	"github.com/gogf/gf/frame/g"
)

func main() {
	g.Server().Run()
	//client := redis.NewClient(&redis.Options{
	//	Addr:     "127.0.0.1:6379",
	//	DB:       9,
	//})
	////延迟到程序结束关闭链接
	//defer client.Close()
	////ping
	//pong, err := client.Ping().Result()
	//if err != nil {
	//	fmt.Println("ping error", err.Error())
	//	return
	//}
	//fmt.Println("ping result:", pong)
}


